<%=
	if(session['artist'] == nil)
		return ""
	end
	tmp = ""
	session['artist'].albums.each() do |key, val|
		s = key
		if(!session['album'].nil? && session['album'].name == key)
			tmp += "<option name=\"albums[]\" 
					value=\"#{s}\"
					selected=\"selected\">
					#{s}</option>"
		else
			tmp += "<option name=\"albums[]\" 
					value=\"#{s}\">
					#{s}</option>"
		end
	end
	tmp
%>

